package com.pactera.madp.cp.api.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;



/**
 * 任务发布-员工完成任务情况表(CpTaskPubEmp)实体类
 *
 * @author jun.lei
 * @since 2022-05-11 15:59:13
 */
@Data
@TableName("cp_task_pub_emp")
@ApiModel(value = "任务发布-员工完成任务情况表")
public class CpTaskPubEmpEntity implements Serializable  {
    private static final long serialVersionUID = -96757594104383454L;
    
    @ApiModelProperty(value="主键")
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value="员工id")
    private Integer employeeId;
    
    @ApiModelProperty(value="员工姓名")
    private String employeeName;
    
    @ApiModelProperty(value="目标数")
    private Integer goalCount;
    
    @ApiModelProperty(value="任务发布id")
    private Integer taskPubId;
    
    @ApiModelProperty(value="完成度")
    private Integer percentage;
    
    @ApiModelProperty(value="crm客户数")
    private Integer crmCount;
    
    @ApiModelProperty(value="他人管户客户数")
    private Integer otherCount;
    
    @ApiModelProperty(value="部门id")
    private Integer deptId;
    
    @ApiModelProperty(value="部门名")
    private String deptName;
    
    @ApiModelProperty(value="完成状态（0未完成 1完成）")
    private Integer status;

    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value="删除标记")
    @TableLogic(value="0",delval="1")
    private String delFlag;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;

}

